package org.example.im.client.console;

import io.netty.channel.Channel;
import org.example.im.bean.protocol.CommandType;

import java.util.Scanner;

/**
 * @author dingrui
 * @since 2022/2/12
 * @description
 */
public interface ConsoleCommand {

    // 策略标识
    CommandType genType();

    void exec(Scanner s, Channel c);
}
